package com.uduemc.biso.core.extities.center;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Table(name = "sys_role")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString()
public class SysRole implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id")
	private Long id;

	@Column(name = "role_name")
	private String roleName;

	@Column(name = "role")
	private String role;

	@Column(name = "create_at", insertable = false, updatable = false)
	private Date createAt;
}
